package com.ds.infrastructure.audit.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 作用：
 *
 * @author WeiShaoying
 * @date 2020/8/3
 */
@Component
@Data
@ConfigurationProperties("sso")
public class SSOConfig {

    private boolean enable;
    private String service;
    private String loginUrl;
    private String validateUrl;
    private String userInfoUrl;
    private List<String> allowedOrigins;

}
